package com.group02.community.entity.visitor;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("zy_repair")
public class ZyRepair {
  @TableId
  @ExcelIgnore
  private long repairId;
  @ExcelProperty("报修编号")
  private String repairNum;
  @ExcelProperty("报修状态")
  private String repairState;
  @ExcelIgnore
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime assignmentTime;
  @ExcelIgnore
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime receivingOrdersTime;
  @ExcelIgnore
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime completeTime;
  @ExcelIgnore
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime cancelTime;
  @ExcelProperty("期待上门")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime doorTime;
  @ExcelIgnore
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private long assignmentId;
  @ExcelIgnore
  private long completeId;
  @ExcelProperty("处理人电话")
  private String completePhone;
  @ExcelProperty("处理人姓名")
  private String completeName;
  @ExcelProperty("备注")
  private String remark;
  @ExcelIgnore
  private String createBy;
  @ExcelProperty("创建时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime createTime;
  @ExcelIgnore
  private String updateBy;
  @ExcelIgnore
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime updateTime;
  @ExcelIgnore
  private long userId;
  @ExcelIgnore
  private long delFlag;
  @ExcelProperty("报修内容")
  private String repairContent;
  @ExcelIgnore
  private long communityId;
  @ExcelProperty("详细地址")
  private String address;





}
